Get

Function

This API is used to get Channel > IPChannel page parameters.

Request Message

None.

Sample:

POST /API/ChannelConfig/IPChannel/Get HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

See Channel> IPChannel > Parameter Description > Table 1 for parameter description.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
	"result": "success",
	"data": {
		"auto_add_ipc_hasCheck": false,
		"channel_info": {
			"CH1": {
				"state": "Online",
				"ip_address": "172.16.11.5",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "SSC30KQ+SC2315",
				"mac_address": "00-23-63-94-AA-08",
				"software_version": "V31.35.8.2.4_230710",
				"network_mode": "Dhcp",
				"forward_port": 65001
			},
			"CH2": {
				"state": "Offline",
				"ip_address": "172.16.10.49",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "000.000.000.000",
				"gateway": "000.000.000.000",
				"port": 9988,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "1",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "",
				"mac_address": "",
				"software_version": "",
				"network_mode": "Dhcp"
			},
			"CH3": {
				"state": "Offline",
				"ip_address": "192.168.1.100",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.000.000",
				"gateway": "172.016.008.001",
				"port": 443,
				"channel_num": 5,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "TKV-4",
				"mac_address": "00-23-63-8F-4A-B8",
				"software_version": "V8.2.2-20221220",
				"network_mode": "Static"
			},
			"CH4": {
				"state": "Offline",
				"ip_address": "192.168.1.100",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.000.000",
				"gateway": "172.016.008.001",
				"port": 443,
				"channel_num": 5,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "TKV-4",
				"mac_address": "00-23-63-8F-4A-B8",
				"software_version": "V8.2.2-20221220",
				"network_mode": "Static"
			},
			"CH5": {
				"state": "Online",
				"ip_address": "172.16.10.187",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Onvif",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "NORMAL",
				"device_type": "",
				"mac_address": "00-11-85-18-30-43",
				"software_version": "V44.45.8.2.3_230708",
				"network_mode": "Dhcp",
				"forward_port": 65005
			},
			"CH6": {
				"state": "Offline",
				"ip_address": "172.16.10.234",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "IP CAMERA",
				"mac_address": "00-23-63-92-69-C7",
				"software_version": "V42.54.8.2.3_230613",
				"network_mode": "Dhcp",
				"forward_port": 65006
			},
			"CH7": {
				"state": "Offline",
				"ip_address": "172.16.10.234",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 9000,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "IP CAMERA",
				"mac_address": "00-23-63-92-69-C7",
				"software_version": "V42.54.8.2.3_230613",
				"network_mode": "Dhcp"
			},
			"CH8": {
				"state": "Offline",
				"ip_address": "192.168.1.100",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.000.000",
				"gateway": "172.016.008.001",
				"port": 443,
				"channel_num": 5,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "TKV-4",
				"mac_address": "00-23-63-8F-4A-B8",
				"software_version": "V8.2.2-20221220",
				"network_mode": "Static"
			},
			"CH9": {
				"state": "NotConfigured"
			},
			"CH10": {
				"state": "Offline",
				"ip_address": "172.16.11.30",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 9000,
				"channel_num": 6,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "DVR4-5680",
				"mac_address": "BC-51-FE-AA-29-0F",
				"software_version": "V8.1.0-20221104",
				"network_mode": "Dhcp"
			},
			"CH11": {
				"state": "Offline",
				"ip_address": "172.16.11.156",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "IP CAMREA",
				"mac_address": "00-23-63-94-8A-01",
				"software_version": "V30.85.8.2.3.2_230711",
				"network_mode": "Dhcp",
				"forward_port": 65011
			},
			"CH12": {
				"state": "Offline",
				"ip_address": "172.16.11.30",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 9000,
				"channel_num": 6,
				"channel_index": 1,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "DVR4-5680",
				"mac_address": "BC-51-FE-AA-29-0F",
				"software_version": "V8.1.0-20221104",
				"network_mode": "Dhcp"
			},
			"CH13": {
				"state": "Offline",
				"ip_address": "172.16.11.30",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 9000,
				"channel_num": 6,
				"channel_index": 2,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "DVR4-5680",
				"mac_address": "BC-51-FE-AA-29-0F",
				"software_version": "V8.1.0-20221104",
				"network_mode": "Dhcp"
			},
			"CH14": {
				"state": "Online",
				"ip_address": "172.16.11.22",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 9000,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "IP CAMERA",
				"mac_address": "00-23-63-88-40-87",
				"software_version": "V27.45.7.0_210219",
				"network_mode": "Dhcp"
			},
			"CH15": {
				"state": "Online",
				"ip_address": "172.16.11.24",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "_ai_net90",
				"mac_address": "00-23-63-78-86-94",
				"software_version": "V27.45.8.2.3.5_230712",
				"network_mode": "Dhcp",
				"forward_port": 65015
			},
			"CH16": {
				"state": "Offline",
				"ip_address": "172.16.11.25",
				"main_url": "",
				"sub_url": "",
				"subnet_mask": "255.255.252.000",
				"gateway": "172.016.008.001",
				"port": 80,
				"channel_num": 1,
				"channel_index": 0,
				"protocol": "Private",
				"connect_method": "General",
				"username": "admin",
				"password": "",
				"password_empty": false,
				"manufacturer": "",
				"device_type": "IP CAMREA",
				"mac_address": "00-23-63-6E-D2-6F",
				"software_version": "V30.85.8.2.3.2_230711",
				"network_mode": "Dhcp",
				"forward_port": 65016
			}
		}
	}
}

Error Code

See Response Messages Body and Common error_code for more information.